<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%><%@ include file="/include/commons.jsp"%>
<h2 class="contentTitle">查看用户--${user.userName}</h2>
<form method="post" action="sys/users/add.action?op=save&navTabId=userLiNav&callbackType=closeCurrent" class="required-validate pageForm" onsubmit="return validateCallback(this, navTabAjaxDone);">
	<input type="hidden" name="userType" value="PERSON"/>
	<div class="pageFormContent" layoutH="97">
		<h3>基本资料</h3>
		<div class="divider"></div>
		<p>
			<label>登录名：</label>
			<label>${user.loginName}</label>
		</p>
		<p>
			<label>用户名：</label>
			<label>${user.userName}</label>
		</p>
		<p>
			<label>昵称：</label>
			<label>${user.nickname}</label>
		</p>
		<p>
			<label>出生日期：</label>
			<label><fmt:formatDate value="${user.birthday}" type="date"/></label>
		</p>
		<p>
			<label>手机：</label>
			<label>${user.mobilePhone}</label>
		</p>
		<p>
			<label>手机短号：</label>
			<label>${user.mobileSmall}</label>
		</p>
		<p>
			<label>电子邮件：</label>
			<label>${user.email}</label>
		</p>
		<p>
			<label>性别：</label>
			<label><c:choose>
				<c:when test="${user.sex==0}">男</c:when>
				<c:otherwise>女</c:otherwise>
			</c:choose></label>
		</p>
		<p>
			<label>用户状态：</label>
			<label><c:choose>
				<c:when test="${user.isLock==0}">正常</c:when>
				<c:otherwise>锁定</c:otherwise>
			</c:choose></label>
		</p>
		<p>
			<label>管理员：</label>
			<label><c:choose>
				<c:when test="${user.isAdmin==1}">是</c:when>
				<c:otherwise>否</c:otherwise>
			</c:choose></label>
		</p>
		<p>
			<label>排序：</label>
			<label>${user.userOrd}</label>
		</p>
		<p>
			<label>所属部门：</label>
			<label><c:forEach items="${user.depts}" var="item">${item.deptName} </c:forEach><c:if test="${empty user.depts || fn:length(user.depts)==0}">暂无部门</c:if></label>
		</p>
	</div>
</form>